From: Matthias Clasen Date: Thu, 2 Aug 2012 23:49:15 +0000 (+0200) Subject: docs: Improve man page generation X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~16724 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d1091c8bda41bb01c7dda45db96377d991639ecf;p=gtk%2B3.0.git docs: Improve man page generation Use $(AM_V_GEN) for generating man pages, and set some parameters for the XSL stylesheets. Among other things, don't generate AUTHORS and COPYRIGHT sections. --- diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am index 8ef4044bd4..780c0af69b 100644 --- a/docs/reference/gtk/Makefile.am +++ b/docs/reference/gtk/Makefile.am @@ -406,8 +406,16 @@ man_MANS = \ if ENABLE_MAN +XSLTPROC_FLAGS = \ + --nonet \ + --stringparam man.output.quietly 1 \ + --stringparam funcsynopsis.style ansi \ + --stringparam man.th.extra1.suppress 1 \ + --stringparam man.authors.section.enabled 0 \ + --stringparam man.copyright.section.enabled 0 + .xml.1: - @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< dist-local-check-mans-enabled: if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi